package dbservice.document;
import java.util.List;

import po.DocumentPo;
import po.Po;
public interface DocumentDBService{
   public Po add(DocumentPo document);
   public Po update(DocumentPo document);
   public List<DocumentPo> getUnapproval();
   public List<DocumentPo> get(DocumentPo from,DocumentPo to);
   public Po approve(DocumentPo document);
	
	
	
	
	
	
	
	
	
	
	/*  public AccountInOutDocumentsPo[] getUnapproval付款单();
         public  库存报损单po[] getUnapproval报损单();
         public  库存报溢单po[] getUnapproval报溢单();
         public 库存报警单po[] getUnapproval报警单();
         public 库存赠送单po[] getUnapproval赠送单();
         public AccountInOutDocumentsPo[] getUnapproval收款单();
         public 进货单po[] getUnapproval进货单();
         public 进货单po[] getUnapproval进货退货单();
         public 销售单po[] getUnapproval销售单();
         public 销售单po[] getUnapproval销售退货单();
         public 现金费用单po[] getUnapproval现金费用单();
         
         public Po add收付款单(AccountInOutDocumentsPo 收付款单);
         public Po add报损单(库存报损单po 库存报损单);
         public Po add报溢单(库存报溢单po 库存报溢单);
         public Po add报警单(库存报警单po 库存报警单);
         public Po add赠送单(库存赠送单po 库存赠送单);
         public Po add进退货单(进货单po 进退货单);
         public Po add销退售单(销售单po 销退售单);
         public Po add现金费用单(现金费用单po 现金费用单);
         
         public AccountInOutDocumentsPo[] get收付款单(AccountInOutDocumentsPo from,AccountInOutDocumentsPo to);
         public  库存报损单po[] get报损单(库存报损单po from,库存报损单po to);
         public  库存报溢单po[] get报溢单(库存报溢单po from,库存报溢单po to);
         public 库存报警单po[] get报警单(库存报警单po from,库存报警单po to);
         public 库存赠送单po[] get赠送单(库存赠送单po from,库存赠送单po to);
         public 进货单po[] get进退货单(进货单po from,进货单po to);
         public 销售单po[] get销退售单(销售单po from,销售单po to);
         public 现金费用单po[] get现金费用单(现金费用单po from,现金费用单po to);
         
         public Po approve付款单(AccountInOutDocumentsPo 付款单);
         public Po approve库存报损单(库存报损单po 报损单);
         public Po approve库存报溢单(库存报溢单po 报溢单);
         public Po approve库存报警单(库存报警单po 报警单);
         public Po approve库存赠送单(库存赠送单po 赠送单);
         public Po approve收款单(AccountInOutDocumentsPo 收款单);
         public Po approve进货单(进货单po 进货单);
         public Po approve进货退货单(进货单po 进货退货单);
         public Po approve销售单(销售单po 销售单);
         public Po approve销售退货单(销售单po 销售退货单);
         public Po approve现金费用单(现金费用单po 现金费用单);
         
         public Po update付款单(AccountInOutDocumentsPo 付款单);
         public Po update库存报损单(库存报损单po 报损单);
         public Po update库存报溢单(库存报溢单po 报溢单);
         public Po update库存报警单(库存报警单po 报警单);
         public Po update库存赠送单(库存赠送单po 赠送单);
         public Po update收款单(AccountInOutDocumentsPo 收款单);
         public Po update进货单(进货单po 进货单);
         public Po update进货退货单(进货单po 进货退货单);
         public Po update销售单(销售单po 销售单);
         public Po update销售退货单(销售单po 销售退货单);
         public Po update现金费用单(现金费用单po 现金费用单);
         
        
         */
 }
